/**
 * Callback method for when form is shown.
 *
 * @param {Boolean} firstShow form is shown first time after load
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"2977DF64-6C33-430A-AFA3-845BCA7A220E"}
 */
function iniciar(firstShow, event) {
	foundset.sort('cod_producto asc, deposito_id asc ')
}

/**
 * Handle changed data.
 *
 * @param {Object} oldValue old value
 * @param {Object} newValue new value
 * @param {JSEvent} event the event that triggered the action
 *
 * @returns {Boolean}
 *
 * @properties={typeid:24,uuid:"824050A7-E75F-41FD-A351-FE991D21FE6C"}
 */
function onDataChange_producto_id(oldValue, newValue, event) 
{
	elements.cantidad.requestFocus();
	return true
}
